package com.dmooo.yxmmerchant.view.contract;

import com.common.mvpbase.BaseView;
import com.common.net.listener.HttpOnNextListener;
import com.dmooo.yxmmerchant.domain.MerchantAlbBean;

import java.io.File;
import java.util.List;

public class MerchantAlbContract {
    public interface MerchantAlbView extends BaseView{
        void showImgList(List<MerchantAlbBean.Item> items);
        void addSuccess();
        void delSuccess(int pos);
        void showNotice(String notice);
        void editNoticeSuccess();
    }
    public interface MerchantAlbMdl{
        void getImgList(String token, HttpOnNextListener listener);
        void addImg(String token, List<File> img,HttpOnNextListener listener);
        void delImg(String token,String id,HttpOnNextListener listener);
        void getNotice(String token,HttpOnNextListener listener);
        void editNotice(String token,String content,HttpOnNextListener listener);
    }
    public interface MerchantAlbPtr{
        void getImgList(String token);
        void addImg(String token, List<File> img);
        void delImg(String token,String id,int pos);
        void getNotice(String token);
        void editNotice(String token,String content);
    }
}
